#red {
    width: 500px;
    height: 400px;
    background: red;
    border-radius: 10px;
    overflow: scroll;
}

#green {
    width: 100px;
    height: 100px;
    background: linear-gradient(green, blue);
    top: 500px;
    left: 40px;
}